package projet.camping.daoimpl;

import javax.ejb.Stateless;

import projet.camping.dao.UserDao;
import projet.camping.domaine.User;

@Stateless
public class UserDaoImpl extends DaoImpl<Integer, User> implements UserDao {
	public User rechercheUser(String pseudo){
		String queryString ="SELECT u FROM User u WHERE pseudo=?1";
		return recherche(queryString,pseudo);
	}
}
